package com.zisu.aradvertising.service;



import com.zisu.aradvertising.pojo.Cooperation;

import java.util.List;

public interface CooperationService {
    /**
     * 新增修改一条合作信息业务逻辑
     */
    Cooperation editCooperationService(Cooperation cooperation);
    /**
     * 取消合作业务逻辑
     */
    Cooperation cancelCooperationService(int coid);
    /**
     * 返回广告商历史订单业务逻辑
     */
    List<Cooperation> findAllCoByAid(int aid);
    /**
     * 返回up主历史订单业务逻辑
     */
    List<Cooperation> findAllCoByCid(int cid);
    /**
     * 同意订单业务逻辑
     */
    Cooperation agree(int coid);
    /**
     * 拒绝订单业务逻辑
     */
    Cooperation refuse(int coid);
    /**
     * 拒绝订单业务逻辑
     */
    void delete(int coid);




}
